home *** CD-ROM | disk | FTP | other *** search
/ Aminet 39 / Aminet 39 (2000)(Schatztruhe)[!][Oct 2000].iso / Aminet / util / shell / ViNCEd.lha / ViNCEd / Include / Examples / ReadMe < prev    next >
Encoding:
Text File  |  2000-07-05  |  2.1 KB  |  53 lines

  1. The files in this drawer demonstrate how to use certain features of
  2. ViNCEd, as well as the include files in this archive. They also try to
  3. answer some frequently asked questions and provide example code how to
  4. write CLEAN programs.
  5.  
  6.  
  7. ReadWindowSize.c:
  8.  
  9.     Demonstrates how to obtain the window size in characters without
  10.     really requiring to go down to the intuition window. This example
  11.     source would even work in case the stdout of the program is connected
  12.     to some kind of Amiga compatible console over a serial line. 
  13.     Especially, all the intuition/console related problems are absend, the
  14.     program would work in iconified windows and without disabling the AUTO
  15.     feature of a console window.
  16.  
  17.     This program answers a FAQ in c.s.a.p., hopefully.
  18.  
  19. ReadConsoleWindow.c:
  20.     
  21.     Demonstrates how to obtain a pointer to the intuition window of
  22.     a console window in a way that does not disable the iconification
  23.     of ViNCEd. Works with ViNCEd as well as with all other console
  24.     handlers.
  25.     Provides useful routines you might want to use in your own
  26.     programs. It provides, too, a way how to obtain the console unit
  27.     (struct ConUnit) from a stream to a console handler. However,
  28.     this is discouraged since ViNCEd windows operate independently
  29.     from the console device. They just fill the console unit structure
  30.     for backwards compatibility.
  31.     (Slightly reworked to remove one bug.)
  32.  
  33. ReadPrefs.c:
  34.  
  35.     Demonstrates how to read the preferences from a window, how to
  36.     convert the macro and button list to something more useful and
  37.     how to print it.
  38.     Demonstrates, too, how to work with the link libraries instead
  39.     of the pragmas. For that, the program should be compiled with
  40.     registerized parameters, long integers and base relative
  41.     addressing. It should be linked with the vnc_stub.rr.base.lib
  42.     in the "lib" directory to resolve open symbols.
  43.  
  44. TBITest.c:
  45.  
  46.     Demonstrates how to use the ToolButtonImage class boopsis, which
  47.     are also used by ViNCEd for its iconification gadget. This example
  48.     is provided by Massimo Tantignone (tanti@intercom.it) and part of
  49.     the TBIClass documentation. Thanks, Massimo!
  50.  
  51.     
  52. Thomas Richter
  53.